package com.vpx.server.framework.authority;

/**
 * @author lihui
 * @title: vpx
 * @module system
 * @description: API接口访问策略
 * @date 2021/9/11 17:51
 */
public enum AuthPoicy {
	/**
	 * 枚举字段
	 */
	LOGIN("LOGIN","登录后访问"),
	UNLOGIN("UNLOGIN","不登录可访问"),
	AUTH("AUTH", "授权访问");

	private String code;

	private String msg;

	private AuthPoicy(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
